FROM centos:7

ENV PUBLIC_IP=1.2.3.4 \
    PORT=10000 \
    PUBLIC_KEY=B3E240BC8B900A9CA27BDF6E1A65D89F9A56DA2791374A61ABD1B38741E83133

COPY run.sh /root/

RUN chmod -R 777 /root/run.sh &&\
    yum install -y net-tools

ENTRYPOINT ["/root/run.sh"]